package com.cx.mapper;

import com.cx.entity.PhStudent;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @program: pms
* @author: cx
* @description:
* @create: 2025-02-07 13:56
**/
@Mapper
public interface PhStudentMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PhStudent record);

    int insertOrUpdate(PhStudent record);

    int insertOrUpdateSelective(PhStudent record);

    int insertSelective(PhStudent record);

    PhStudent selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PhStudent record);

    int updateByPrimaryKey(PhStudent record);

    int updateBatch(List<PhStudent> list);

    int batchInsert(@Param("list") List<PhStudent> list);

    List<PhStudent> getList(PhStudent phStudent);

    int count(PhStudent phStudent);
}